package com.aw.guiguzi.module.manager._user.views

import com.aw.baselib.base.AwBasePresenter
import com.aw.baselib.base.AwBaseView
import com.aw.guiguzi.bean.UserInfoBean

/**
 * @author : hzw
 */
interface UserDetailView : AwBaseView {
    interface Presenter : AwBasePresenter {
        fun getUserDetail(id: String?)
        fun updateStatus(id: String?, isEnable: Boolean)
        fun delUser(id: String?)
    }

    interface View : AwBaseView {
        fun getUserDetailSuccess(bean: UserInfoBean?)
        fun getUserDetailFail(code: Int, msg: String?)
        fun updateStatusSuccess()
        fun updateStatusFail(code: Int, msg: String?)
        fun delUserSuccess()
    }
}